﻿using System;

namespace ManagedVC1
{
    public enum EncodeState
    {
        Stopped,
        Initializing,
        Anaylzing,
        Encoding

    }
    public class EncoderProgressEventArgs : EventArgs
    {
        public EncoderProgressEventArgs(double percentComplete, EncodeState state)
        {
            PercentComplete = percentComplete;
            EncoderState = state;
        }

        public double PercentComplete { get; set; }
        public EncodeState EncoderState { get; set; }
    }

    public class EncoderFailedEventArgs : EventArgs
    {
        public Exception ThrownException { get; set; }

        public EncoderFailedEventArgs(Exception thrownEx)
        {
            ThrownException = thrownEx;
        }
    }
}
